package com.nave.princesslife.activities;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.view.WindowManager;

import com.nave.princesslife.R;
import com.nave.princesslife.jogodamemoria.Gerenciador_Cartas;
import com.nave.princesslife.jogodavelha.JogoDaVelha;
import com.nave.princesslife.jogogenius.GeniusActivity;

public class MiniGameActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		
		// Sem Activity e em modo Fullcreen.
		this.requestWindowFeature(Window.FEATURE_NO_TITLE);
		this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
		
		setContentView(R.layout.activity_mini_game);
	}
	
	public void miniGame_TicTacToe(View v) {
		Intent intent = new Intent(MiniGameActivity.this, JogoDaVelha.class);
		startActivity(intent);
	}
	
	public void miniGame_Genius(View v) {
		Intent intent = new Intent(MiniGameActivity.this, GeniusActivity.class);
		startActivity(intent);
	}
	
	public void miniGame_MemoryGame(View v) {
		Intent intent = new Intent(MiniGameActivity.this, Gerenciador_Cartas.class);
		startActivity(intent);
	}
}